package com.lebang.configuration;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @author Eliohn on 2019/7/24.
 * @version 1.0
 */


@Configuration
public class OSSConstantConfig {
    @Value("${alioss.xianyu.endpoint}")
    private String endPoint;
    @Value("${alioss.xianyu.keyid}")
    private String keyId;
    @Value("${alioss.xianyu.keysecret}")
    private String keySecret;
    @Value("${alioss.xianyu.bucketname}")
    private String bucketname;

    public String getEndPoint() {
        return endPoint;
    }

    public String getKeyId() {
        return keyId;
    }

    public String getKeySecret() {
        return keySecret;
    }

    public String getBucketname() {
        return bucketname;
    }
}
